package com.hst.web.base.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hst.core.annotation.Comment;
import com.hst.core.annotation.HSID;
import com.hst.core.dao.BaseEntity;

@Entity
@Table(name = "t_card_info")
@Comment("卡信息表")
public class TCardInfo extends BaseEntity {

	@Id
	@Column(name = "issue_no", length = 20)
	@Comment("卡发行号")
	private Integer issueNo;

	@Column(name = "card_type", length = 2, nullable = false)
	@Comment("卡类型")
	private String cardType;

	@Column(name = "card_status", length = 2, nullable = false)
	@Comment("卡状态")
	private String cardStatus;

	@Column(name = "cuid", length = 16, nullable = false)
	@Comment("CUID")
	private String cuid;

	@Column(name = "cid", length = 16, nullable = false)
	@Comment("CID")
	private String cid;

	@Column(name = "tid", length = 16, nullable = false)
	@Comment("TID")
	private String tid;

	@Column(name = "qrcode", length = 128)
	@Comment("二维码")
	private String qrCode;

	@Column(name = "card_flag", length = 2, nullable = false)
	@Comment("卡标识")
	private String cardFlag;

	@Column(name = "containerid")
	@Comment("所属箱号")
	private Integer containerId;

	@Column(name = "boxid")
	@Comment("所属盒号")
	private Integer boxId;

	@Column(name = "expiry_date", length = 10)
	@Comment("卡有效期")
	private String expiryDate;

	public Integer getIssueNo() {
		return issueNo;
	}

	public void setIssueNo(Integer issueNo) {
		this.issueNo = issueNo;
	}

	public String getCardType() {
		return cardType;
	}

	public void setCardType(String cardType) {
		this.cardType = cardType;
	}

	public String getCardStatus() {
		return cardStatus;
	}

	public void setCardStatus(String cardStatus) {
		this.cardStatus = cardStatus;
	}

	public String getCuid() {
		return cuid;
	}

	public void setCuid(String cuid) {
		this.cuid = cuid;
	}

	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public String getTid() {
		return tid;
	}

	public void setTid(String tid) {
		this.tid = tid;
	}

	public String getQrCode() {
		return qrCode;
	}

	public void setQrCode(String qrCode) {
		this.qrCode = qrCode;
	}

	public String getCardFlag() {
		return cardFlag;
	}

	public void setCardFlag(String cardFlag) {
		this.cardFlag = cardFlag;
	}

	public Integer getContainerId() {
		return containerId;
	}

	public void setContainerId(Integer containerId) {
		this.containerId = containerId;
	}

	public Integer getBoxId() {
		return boxId;
	}

	public void setBoxId(Integer boxId) {
		this.boxId = boxId;
	}

	public String getExpiryDate() {
		return expiryDate;
	}

	public void setExpiryDate(String expiryDate) {
		this.expiryDate = expiryDate;
	}

}
